Sending chat messages is performed using the Send Chat Message API. You'll perform this filling in the broadcaster_id with the chat channel owner's User ID.
Having issues with chat commands? Read below for some useful chat commands and features that will help you! Basic Commands for Everyone · Basic Commands for... · Channel Editor and...
Channel commands ;!bot, Super Moderator. Mute, unmute or remove the bot. 0 ;!addpoints, Super Moderator. Give points to viewers. Use 'all' for all chatters. 0.